<?php
/**
 * Created by PhpStorm.
 * User: 秋刀鱼
 * Date: 2018/6/12
 * Time: 9:02
 */

namespace backend\controllers;

use Yii;
use yii\web\Controller;
use yii\filters\VerbFilter;
use yii\filters\AccessControl;
use common\models\LoginForm;
use  yii\web\Session;

/**
 * Login controller
 */
class IndexController extends Controller
{


    public function actionIndex(){
//        $a = Yii::$app->session['realname'];
//        var_dump($a);die;
//        $realname = Yii::$app->session['realname'];
//        $realname = $session['realname'];
        return $this->render('index');
    }
}